package com.leaf.lowcode.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leaf.lowcode.entity.Floor;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cxd
 * @since 2021-11-10
 */
public interface XfFloorMapper extends BaseMapper<Floor> {

    @Select("SELECT floor FROM floor WHERE deviceCode=#{deviceCode}")
    public String selectfloor(@Param(value = "deviceCode") String deviceCode);

}
